KnitPay\Gateways\Razorpay\Integration B

Total Complexity 98
Dependencies 7
Dependents 2
Total lines 876
Lines of code 616
Logical lines of code 271
Comment lines 131
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
get_settings_fields()
C
25
16 220
refresh_access_token()
A
44 13 45
update_connection_status()
A
47 11 35
get_config()
A
46 7 40
save_post()
A
53 8 22
razoray_deprecated_keys_notice()
A
45 6 46
schedule_next_refresh_access_token()
S
54 6 22
save_token()
S
54 6 19
create_connection()
S
51 3 28
connect()
S
52 3 26
connection_status_box()
S
56 3 17
__construct()
S
53 2 24
setup()
S
59 2 14
get_gateway()
S
62 2 12
gateway_configuration_display_value()
S
75 2 4
inc_refresh_token_fail_counter()
S
67 2 8
subscription_status_update_listener()
S
66 2 8
clear_config()
S
60 1 13
allowed_redirect_hosts()
S
77 1 4
redirect_to_config()
S
75 1 4
configure_webhook()
S
72 1 5